package com.example.chat.common.base;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
public class PageQueryVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1398133444548747127L;

    public final static Integer DEFAULT_PAGE_INDEX = 1;

    public final static Integer DEFAULT_PAGE_SIZE = 20;

    private Integer page = DEFAULT_PAGE_INDEX;

    private Integer pageSize = DEFAULT_PAGE_SIZE;
}
